package org.budo.weibo.response;

import java.io.Serializable;

import org.budo.support.http.client.Response;

import com.alibaba.fastjson.JSONObject;

/**
 * @author lmw
 */
public class AbstractResponse implements Serializable {
    private static final long serialVersionUID = -6139221618129051276L;

    private Response response;

    private JSONObject responseJson;

    public JSONObject getResponseJson() {
        return this.responseJson;
    }

    public void setResponseJson(JSONObject responseJson) {
        this.responseJson = responseJson;
    }

    public Response getResponse() {
        return this.response;
    }

    public void setResponse(Response response) {
        this.response = response;
    }

    @Override
    public String toString() {
        return super.toString() + ", response=" + this.getResponse();
    }
}